package com.xuhnagchen.automation.entity;

import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;

public class UserBean implements Serializable {
    public long id;
    public String phone;
    public transient String password;
    public String name;
    public String nickName;
    public String idCardNumber;
    public String ipAddress;
    public String token;
    public int vipGrade;
    public long tokenExpiryTime;
    public String email;

    public UserBean() {
    }

    public UserBean(long id, String phone, String password, String name, String nickName, String idCardNumber, String ipAddress, String token, int vipGrade, long tokenExpiryTime, String email) {
        this.id = id;
        this.phone = phone;
        this.name = name;
        this.password = password;
        this.nickName = nickName;
        this.idCardNumber = idCardNumber;
        this.ipAddress = ipAddress;
        this.token = token;
        this.vipGrade = vipGrade;
        this.tokenExpiryTime = tokenExpiryTime;
        this.email = email;
    }

    public long getTokenExpiryTime() {
        return tokenExpiryTime;
    }

    public void setTokenExpiryTime(long tokenExpiryTime) {
        this.tokenExpiryTime = tokenExpiryTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getVipGrade() {
        return vipGrade;
    }

    public void setVipGrade(int vipGrade) {
        this.vipGrade = vipGrade;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
